'use strict';

const express = require('express');

const classRouter = express.Router();

const classCtr = require('../../controllers/classController.js');

classRouter.get('/class_add',classCtr.classAdd);

classRouter.post('/class_add',classCtr.clsAddData);

classRouter.get('/class_list',classCtr.classList);

classRouter.get('/class_del/:id',classCtr.clsDelData);

classRouter.get('/classAll_del/:id',classCtr.clsDelAllData);

classRouter.get('/class_edit/:id',classCtr.classEdit);

classRouter.post('/class_edit/:id',classCtr.clsEditData);

module.exports = classRouter;